body {
  padding: 0;
  margin: 0;
  font: 16px "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

a {
  color: #00B7FF;
}

/* 页面标题样式 */
h1 {
  color: white;
  text-align: center;
  margin: 0;
  padding: 30px 0 10px 0;
  font-size: 2.5em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

body > p {
  color: rgba(255,255,255,0.9);
  text-align: center;
  margin: 0 0 40px 0;
  font-size: 1.1em;
}

/* Markdown容器样式 */
.markdown-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.markdown-content > h2 {
  color: white;
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.markdown-body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2c3e50;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-top: 32px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #2c3e50;
}

.markdown-body h1 {
  font-size: 2.2em;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 3px solid #667eea;
  padding-bottom: 15px;
  margin-top: 0;
}

.markdown-body h2 {
  font-size: 1.8em;
  color: #667eea;
  border-bottom: 2px solid #e1e8ed;
  padding-bottom: 12px;
  position: relative;
}

.markdown-body h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.markdown-body h3 {
  font-size: 1.4em;
  color: #764ba2;
  margin-top: 28px;
}

.markdown-body p {
  margin-bottom: 20px;
  color: #34495e;
  font-size: 16px;
}

.markdown-body ul,
.markdown-body ol {
  margin-bottom: 20px;
  padding-left: 2em;
}

.markdown-body li {
  margin-bottom: 8px;
  color: #34495e;
  position: relative;
}

.markdown-body ul li::before {
  content: '▸';
  color: #667eea;
  font-weight: bold;
  position: absolute;
  left: -1.2em;
}

.markdown-body ol li {
  counter-increment: item;
}

.markdown-body ol li::before {
  content: counter(item) '.';
  color: #667eea;
  font-weight: bold;
  position: absolute;
  left: -2em;
  width: 1.5em;
  text-align: right;
}

.markdown-body ol {
  counter-reset: item;
}

.markdown-body pre {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  overflow: auto;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}

.markdown-body code {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  margin: 0;
  padding: 4px 8px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-weight: 500;
}

.markdown-body pre code {
  background: transparent;
  color: #ecf0f1;
  border: 0;
  display: inline;
  line-height: inherit;
  margin: 0;
  max-width: auto;
  overflow: visible;
  padding: 0;
  word-wrap: normal;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.markdown-body a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  padding: 2px 4px;
  border-radius: 4px;
}

.markdown-body a:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.markdown-body blockquote {
  border-left: 5px solid #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  color: #2c3e50;
  margin: 20px 0;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  position: relative;
}

.markdown-body blockquote::before {
  content: '"';
  font-size: 4em;
  color: #667eea;
  position: absolute;
  top: -10px;
  left: 10px;
  opacity: 0.3;
}

.markdown-body table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 24px 0;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.markdown-body table th,
.markdown-body table td {
  border: none;
  padding: 12px 16px;
  text-align: left;
}

.markdown-body table th {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.markdown-body table td {
  background: white;
  border-bottom: 1px solid #f8f9fa;
}

.markdown-body table tr:nth-child(even) td {
  background: #f8f9fa;
}

.markdown-body table tr:hover td {
  background: rgba(102, 126, 234, 0.1);
  transition: background 0.3s ease;
}

.markdown-body img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.markdown-body img:hover {
  transform: scale(1.02);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .markdown-body {
    padding: 20px;
    margin: 20px 10px;
  }
  
  .markdown-content {
    padding: 0 10px;
  }
  
  .markdown-body h1 {
    font-size: 1.8em;
  }
  
  .markdown-body h2 {
    font-size: 1.5em;
  }
}